package com.xiaoye.qbproject.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoye.qbproject.domain.SysRole;
import com.xiaoye.qbproject.mapper.SysRoleMapper;
import com.xiaoye.qbproject.service.SysRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【SYS_ROLE】的数据库操作Service实现
 * @createDate 2025-06-05 22:59:39
 */
@Service
@DS("slave")
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole>
        implements SysRoleService {
    public List<SysRole> getList() {
        return baseMapper.selectList(null);
    }

}




